home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
3D Images
/
3D Images.iso
/
programs
/
amiga
/
rayshade
/
man
/
rlequant.man
< prev
next >
Wrap
Text File
|
1995-01-12
|
4KB
|
133 lines
RLEQUANT(1) RLEQUANT(1)
NNAAMMEE
rlequant - variance based color quantization for RLE
images
SSYYNNOOPPSSIISS
rrlleeqquuaanntt [ --bb _b_i_t_s ] [ --cc ] [ --dd ] [ --ff ] [ --mm ] [ --nn _c_o_l_
_o_r_s ] [ --oo _o_u_t_f_i_l_e ] [ _i_n_f_i_l_e ]
DDEESSCCRRIIPPTTIIOONN
This program quantizes the colors in an RLE image using a
variance-based method. See _c_o_l_o_r_q_u_a_n_t(3) for more details
on the method.
--bb _b_i_t_s
The colors in the input image will be "prequan
tized" to this many bits before applying the vari
ance-based method. Two internal tables of size
22^^((33**bits)) are allocated, so values of _b_i_t_s greater
than 6 are likely to cause thrashing or may prevent
the program from running at all. The default value
of _b_i_t_s is 5. It must be less than or equal to 8
and greater than 0.
--cc Only the color map will be output; the image will
not be digitized. The output file will be a 0x0
_R_L_E file with a color map, suitable for input to
_r_l_e_l_d_m_a_p(1) or _r_l_e_d_i_t_h_e_r(1).
--dd Floyd Steinberg dithering is performed on the out
put. This is very helpful for images being quan
tized to a small number of colors.
--ff If this option is specified, a faster approximation
will be used. In most cases, the error so intro
duced will be barely noticeable.
--mm Computes a single color map suitable for quantizing
all the input images. This is useful when the
quantized images will be used as a "movie" (e.g.,
with the --mm flag of _g_e_t_x_1_1(1)). The input may not
come from a pipe when this option is specified,
unless --cc is also specified.
--nn _c_o_l_o_r_s
The output image will be quantized to at most _c_o_l_
_o_r_s colors. It might have fewer if the input image
has only a few colors itself. The default value of
_c_o_l_o_r_s is 256. It must be less than or equal to
256.
--oo _o_u_t_f_i_l_e
The output will be written to the file _o_u_t_f_i_l_e. If
not specified, or if _o_u_t_f_i_l_e is "-", the output
will be written to the standard output stream.
1 June 12, 1990 1
RLEQUANT(1) RLEQUANT(1)
_i_n_f_i_l_e This file contains one or more concatenated RLE
images. Each will be processed in turn. A sepa
rate quantization map will be constructed for each
image. If not specified, or if _i_n_f_i_l_e is "-", the
image(s) will be read from the standard input
stream.
SSEEEE AALLSSOO
_m_c_u_t(1), _r_l_e_d_i_t_h_e_r(1), _u_r_t(1), _c_o_l_o_r_q_u_a_n_t(3), _R_L_E(5).
AAUUTTHHOORR
Spencer W. Thomas
Craig Kolb (Yale University) wrote the color quantization
code.
Rod Bogart wrote the dithering code.
1 June 12, 1990 2